import { createModel } from "../utils/create-model";
export const TransOrder = createModel("transport_order", {
  ower: String,
  insurance: String,
  begin_at: Date,
  contract_price: Number,
  veh_model: String,
  sn: {
    type: String,
    unique: true,
  },
  customer: String,
  type: String,
  price: Number,
  veh_plate: String,
  from: String,
  to: String,
});
export const PayOrder = createModel("pay_order", {
  trans_orders: Array,
  hope_date: Date,
  pay_date: Date,
  status: Number,
  user: String,
  remark: String,

  account: String,
  account_name: String,
});
